package model

import (
	"go-zero-demo/common/model/material"
	"gorm.io/gorm"
)

func AutoMigrate(db *gorm.DB) error {

	db = db.Set("gorm:table_options", "ENGINE=InnoDB")

	return db.AutoMigrate(

		new(material.MaterialDownload),
		new(OceanMaterialCostV3),
	)
}
